﻿using System;

namespace Moonlite.Languages.Andromeda.Implementation
{
    internal abstract class AbstractCompilationError : ICompilationError
    {
        private int line;
        private int column;
        private string message;
        public int Line
        {
            get
            {
                return line;
            }
        }

        public int Column
        {
            get
            {
                return column;
            }
        }

        public string Message
        {
            get
            {
                return message;
            }
        }

        public AbstractCompilationError(int line, int column, string message)
        {
            this.line = line;
            this.column = column;
            this.message = message;
        }
    }
}
